#!/bin/sh

sed -E '
	s/\$([a-zA-Z0-9_][a-zA-Z0-9_]+)/$(\1)/g
	s/^</include /
	/^include / s/mk/Make/g
' "$@"
